/**
 *
 */
package com.zhuoyue.zhtj.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eit.eitsite.common.persistence.Page;
import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.zhtj.entity.Hdgg;
import com.zhuoyue.zhtj.dao.HdggDao;

/**
 * 活动公告Service
 * @author hss
 * @version 2017-08-17
 */
@Service
@Transactional(readOnly = true)
public class HdggService extends CrudService<HdggDao, Hdgg> {

	public Hdgg get(String id) {
		return super.get(id);
	}
	
	public List<Hdgg> findList(Hdgg hdgg) {
		return super.findList(hdgg);
	}
	
	public Page<Hdgg> findPage(Page<Hdgg> page, Hdgg hdgg) {
		return super.findPage(page, hdgg);
	}
	
	@Transactional(readOnly = false)
	public void save(Hdgg hdgg) {
		super.save(hdgg);
	}
	
	@Transactional(readOnly = false)
	public void delete(Hdgg hdgg) {
		super.delete(hdgg);
	}
	
}